/* 默认是PC端 */
body a:hover {
  color: red;
}
.topNav {
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid #ccc;
}
.topNav li {
  float: left;
  padding: 0 36px;
  border-right: 1px solid #ccc;
}
.topNav li:last-child {
  border-right: 0 none;
}
.topNav li:last-child a {
  display: block;
  width: 68px;
  height: 32px;
  line-height: 32px;
  background-color: red;
  float: left;
  text-align: center;
  margin-top: 15px;
  margin-right: 10px;
  border-radius: 5px;
}
.topNav li:last-child a:first-child {
  color: white;
}
.topNav li:last-child a:last-child {
  background-color: transparent;
}
/* 主体导航区域 */
.main_nav {
  height: 55px;
  line-height: 55px;
}
.main_nav a {
  float: left;
}
.main_nav a img {
  width: 145px;
}
.main_nav ul {
  float: left;
  margin-left: 32px;
}
.main_nav ul li {
  float: left;
  margin-right: 43px;
}
.main_nav ul li:last-child {
  margin-left: 30px;
  margin-right: 0;
}
/* 广告区域 */
.banner {
  width: 100%;
}
.banner img {
  width: 100%;
}
/* 列表区域 */
.list_box {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}
.list_box .w {
  position: relative;
}
.list_box dl {
  float: left;
}
.list_box dl:nth-child(2) {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}
.list_box dl:last-child {
  float: right;
}
.list_box dt {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
.list_box dd {
  font-size: 16px;
  margin-bottom: 5px;
}
/* 文本内容区域 */
.text_news {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}
.text_news p {
  font-size: 16px;
  line-height: 30px;
}
.text_news p span {
  /* 鼠标样式属性 */
  cursor: help;
  color: #4aa6ee;
}
.text_news p a {
  color: #f3c8a1;
}
/* 底部区域 */
.footer {
  background: url(../images/box-style-bg.png);
}
.footer .w {
  width: 1200px;
}
.top_footer {
  height: 55px;
  line-height: 55px;
  border-bottom: 1px solid #ccc;
  padding: 0 90px;
}
.top_footer li {
  float: left;
  margin: 0 20px;
}
.middle_footer {
  position: relative;
  height: 55px;
  background-color: #fff;
  margin-top: 20px;
  line-height: 55px;
  padding-left: 90px;
  box-sizing: border-box;
}
.middle_footer::after {
  position: absolute;
  left: 124px;
  top: -20px;
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid #fff;
}
.bottom_footer {
  margin-top: 15px;
}
.bottom_footer .item {
  width: 393px;
  height: 150px;
  background-color: #e61e25;
  float: left;
  margin-bottom: 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
}
.bottom_footer .item:nth-child(3n+2) {
  margin: 0 10px;
}
.item .left_item {
  position: relative;
  float: left;
  width: 284px;
  height: 130px;
  border-right: 1px dashed #ccc;
  box-sizing: border-box;
  margin-left: 8px;
}
.item .left_item::after {
  position: absolute;
  right: -10px;
  top: -20px;
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 50%;
}
.item .left_item::before {
  position: absolute;
  right: -10px;
  bottom: -20px;
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 50%;
}
.item .left_item p {
  font-size: 12px;
  line-height: 28px;
}
.item .left_item p:first-child {
  color: #fdfffd;
  font-size: 18px;
}
.item .left_item p:nth-child(2n) {
  color: #f19196;
  margin-right: 10px;
}
.item .left_item p:nth-child(2n+1) {
  color: #fdfffd;
  font-weight: 700;
  margin-right: 10px;
}
.item .right_item {
  float: left;
  width: 80px;
  height: 130px;
  padding: 40px 0;
  box-sizing: border-box;
}
.item .right_item p {
  color: #f0f0f0;
  text-align: center;
  font-size: 14px;
}
.item .right_item p:first-child {
  font-weight: 700;
  font-size: 22px;
}
/* ipad端 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .w {
    width: 100%;
    max-width: 768px;
  }
  .topNav li {
    padding: 0 28px;
  }
  .topNav li:nth-child(1) {
    display: none;
  }
  .main_nav {
    padding: 0 10px;
  }
  .main_nav ul {
    margin-left: 30px;
  }
  .main_nav ul li {
    margin-right: 30px;
  }
  .main_nav ul li:last-child {
    display: none;
  }
  .list_box {
    padding: 10px;
  }
  .text_news {
    padding: 15px 10px;
  }
  .top_footer {
    padding: 0;
  }
  .middle_footer {
    padding: 0 10px;
  }
  .middle_footer::after {
    left: 20px;
  }
  .bottom_footer .item {
    width: 49%;
    margin-bottom: 15px;
  }
  .bottom_footer .item:nth-child(3n+2) {
    margin: 0 0 15px;
  }
  .bottom_footer .item:nth-child(2n) {
    float: right;
  }
}
/* 移动端 */
@media only screen and (min-width: 320px) and (max-width: 430px) {
  .banner {
    margin-top: 50px;
  }
  .w {
    width: 100% !important;
  }
  .topNav {
    display: none;
  }
  .main_nav {
    display: none;
  }
  .list_box {
    display: none;
  }
  .text_news {
    padding: 15px 10px;
  }
  .top_footer {
    padding: 0;
    overflow: auto;
  }
  .top_footer ul {
    width: 768px;
  }
  .top_footer li {
    margin: 0 20px;
  }
  .middle_footer {
    padding: 0 10px;
  }
  .middle_footer::after {
    left: 20px;
  }
  .bottom_footer .item {
    width: 100%;
    margin-bottom: 15px;
  }
  .bottom_footer .item .left_item {
    width: 67%;
  }
  .bottom_footer .item .right_item {
    width: 30%;
  }
  .bottom_footer .item:nth-child(3n+2) {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }
}
